package com.nbc.car.biz.dao;

import com.nbc.car.biz.entity.CUser;
import com.nbc.car.biz.entity.Token;

/**
 * Created by yp-bp-m-7046 on 16/7/19.
 */
public interface IUserDAO {
    /**
     * 注册c端用户
     * @param cUser
     * @return
     */
    int register(CUser cUser);

    /**
     * 注册时生成用户对应的令牌信息
     * @param token
     * @return
     */
    int createToken(Token token);

    /**
     * c端用户登陆
     * @param cUser
     * @return
     */
    CUser login(CUser cUser);



}
